home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: phcoms4.seri.philips.nl!misf1!news
- From: "H.J. Bob Peeters" <bpeeters@best.ms.philips.com>
- Subject: Searching for Include checker
- Content-Type: text/plain; charset=us-ascii
- Message-ID: <314FE6FA.6D3C@best.ms.philips.com>
- Sender: news@ms.philips.nl
- Content-Transfer-Encoding: 7bit
- Cc: mrsendes
- Organization: Philips Medical Systems
- Mime-Version: 1.0
- Date: Wed, 20 Mar 1996 11:07:38 GMT
- X-Mailer: Mozilla 2.0 (X11; I; HP-UX A.09.05 9000/735)
-
- Hello,
-
- Can anybody help me find a tool to check for the presence of the proper
- #include
- statements in a file?
-
- Our dept. is currently investigating the switch to using nested
- includes.
- But in order to keep this manageable within our vast amount of files we
- need some
- tool support.
-
- Here are some requirements:
-
- - files should be self-contained after succesful check
- (obvious, we want compilable files, including h-files.)
- - detect superfluous includes
- (i.e. nothing used in this file from that file)
- - files should explicitly include themselves whatever they need
- (i.e. not lean on includes in included files, which could be removed
- at some time)
-
- Note: All included stuff satisfies naming conventions - filename
- prefixes
- all (exported) identifiers (with a few manageable exceptions). This
- might ease the checking algorithm.
-
-
- Thanks ahead, Bob Peeters
-